Method and apparatus for determining data feedback resource

ABSTRACT

This application discloses a method and an apparatus for determining a data feedback resource. The method includes receiving, by a first terminal, first data sent by a second terminal. The method includes determining a feedback resource of the first data. The feedback resource of the first data is a feedback resource in a feedback resource pool. The method includes sending feedback information of the first data to the second terminal on the feedback resource. The feedback information indicates a receiving status of the first data.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2018/079505, filed on Mar. 19, 2019, which claims priority toChinese Patent Application No. 201710166177.2, filed on Mar. 20, 2017.The disclosures of the aforementioned applications are herebyincorporated by reference in their entireties.

TECHNICAL FIELD

This application relates to the field of wireless communicationstechnologies, and in particular, to a method and an apparatus fordetermining a data feedback resource.

BACKGROUND

An internet-of-vehicles system is designed to improve road safety,improve traffic efficiency, and provide a rich streaming service forusers through communication between a vehicle and another device (V2X).The other device includes a vehicle, a handheld terminal, a roadsideunit (RSU), a network, and the like. The communication between a vehicleand another device includes vehicle-to-vehicle (V2V) communication,vehicle-to-pedestrian (V2P) communication, vehicle-to-network (V2N)communication, and the like, and the V2V communication, the V2Pcommunication, and the V2N communication are collectively referred to asthe V2X.

Currently, technologies such as 2G/3G/4G are used for cellularcommunication. A long term evolution (LTE) technology used in a 4Gsystem has advantages of a high rate, a low latency, large coverage,support for a high-speed moving terminal, and the like. Therefore,during information communication between a vehicle and the outside in acellular network, a central scheduler such as a base station (EvolvedNode B (eNB)) may be fully used to dynamically schedule a transmissionresource, to reduce a probability of a communication conflict, andresolve an uncontrollable delay problem. An LTE-V2X technology is atechnology of information exchange between a vehicle and another devicebased on an LTE cellular network, and is an extension to an existingcellular network technology.

In an LTE-V2X system, there are usually two manners of communicationbetween a vehicle and another device. In a first manner, as shown inFIG. 1A, a vehicle sends state information of the vehicle to anothernearby vehicle or node in a broadcast manner, and a base station doesnot need to forward data. In a second manner, as shown in FIG. 1B, avehicle first sends state information of the vehicle to a base station,and then the base station sends the received data to another vehicle ornode in a unicast or broadcast manner.

However, in field of existing internet-of-vehicles technologies, avehicle serving as a transmit end can only determine whether sending ofdata that needs to be sent is completed. Because a data feedbackresource is not defined, the vehicle serving as the transmit end cannotdetermine whether the sent data is successfully received, andconsequently data transmission reliability is low.

SUMMARY

This application provides a method and an apparatus for determining adata feedback resource, to resolve a problem of relatively poor datatransmission reliability in an existing internet-of-vehicles technology.

According to a first aspect, a method for determining a data feedbackresource is provided. The method includes receiving, by a firstterminal, first data sent by a second terminal. The method furtherincludes determining, by the first terminal, a feedback resource of thefirst data. The feedback resource of the first data is a feedbackresource in a feedback resource pool. The method further includessending, by the first terminal, feedback information of the first datato the second terminal on the feedback resource. The feedbackinformation indicates a receiving status of the first data.

A beneficial effect is as follows: After receiving the first data sentby the second terminal, the first terminal can send the feedbackinformation of the first data to the second terminal on the feedbackresource of the first data that is determined in the feedback resourcepool. Therefore, the second terminal serving as a transmit end candetermine, by detecting the feedback information, whether the sent firstdata is successfully received, thereby improving data transmissionreliability.

With reference to the first aspect, in a possible design, determining,by the first terminal, a feedback resource of the first data includesdetermining, by the first terminal, time-frequency information and/orcode domain information of the feedback resource of the first data. Thetime-frequency information includes start location information of afrequency domain resource, a length of the frequency domain resource,and indication information of a time domain resource. The code domaininformation includes a codeword used to send the feedback information.

With reference to the first aspect, in a possible design, determining,by the first terminal, a feedback resource of the first data includesobtaining, by the first terminal, configuration information of thefeedback resource pool and determining, by the first terminal, thefeedback resource of the first data based on the configurationinformation of the feedback resource pool.

In this design, it is simple for the first terminal to determine thefeedback resource of the first data based on the configurationinformation of the feedback resource pool. The feedback resource of thefirst data is determined in advance, so that a feedback resourceconflict can be prevented.

With reference to the first aspect, in a possible design, obtaining, bythe first terminal, configuration information of the feedback resourcepool includes obtaining, by the first terminal, the configurationinformation of the feedback resource pool from a network side orobtaining, by the first terminal, the configuration information of thefeedback resource pool using preconfigured information.

In this design, the configuration information of the feedback resourcepool may be obtained from the network side, or may be locally configuredon the first terminal in advance, so that implementations are flexibleand diverse.

With reference to the first aspect, in a possible design, obtaining, bythe first terminal, configuration information of the feedback resourcepool includes obtaining, by the first terminal, at least one of startlocation information of a frequency domain resource, length informationof the frequency domain resource, time-domain subframe offsetinformation, and subframe bitmap information of the feedback resourcepool.

With reference to the first aspect, in a possible design, a quantity offrequency domain resources in the feedback resource pool is determinedbased on a quantity of sub-channels in a data resource pool in which thefirst data is located.

With reference to the first aspect, in a possible design, determining,by the first terminal, a feedback resource of the first data includesobtaining, by the first terminal, time-frequency resource information ofthe first data and determining, by the first terminal, thetime-frequency information of the feedback resource of the first databased on the time-frequency resource information of the first data.

In this design, the time-frequency information of the feedback resourceof the first data is associated with time-frequency information of thefirst data, so that the first terminal can rapidly determine thetime-frequency information of the feedback resource of the first databased on the time-frequency information of the first data, therebyimproving data transmission reliability.

With reference to the first aspect, in a possible design, thetime-frequency resource information of the first data that is obtainedby the first terminal includes information about a time-frequencyresource carrying sidelink control information (SCI) of the first dataand/or information about a time-frequency resource carrying service dataof the first data.

With reference to the first aspect, in a possible design, determining,by the first terminal, a feedback resource of the first data includesdetermining, by the first terminal, code domain information of thefeedback resource of the first data Determining, by the first terminal,the code domain information of the feedback resource of the first dataincludes obtaining, by the first terminal, at least one oftime-frequency resource information of the first data, ID information ofthe first terminal, and ID information of the second terminal, andincludes determining, by the first terminal, the code domain informationof the feedback resource of the first data based on the at least oneobtained information.

In this design, when the feedback resource determined by the firstterminal conflicts with a feedback resource of another terminal, a samefeedback channel may be multiplexed in a code division manner to resolvethe resource conflict.

With reference to the first aspect, in a possible design, sending, bythe first terminal, feedback information of the first data to the secondterminal on the feedback resource includes obtaining, by the firstterminal, time domain information used by a third terminal to sendsecond data and sending, by the first terminal if the first terminaldetermines that time domain information of the feedback resource of thefirst data is the same as the time domain information of the second datasent by the third terminal, the feedback information of the first dataafter a delay of k subframes, where k is an integer greater than 0.

In this design, when the time domain information of the feedbackresource used by the first terminal to send the feedback information ofthe first data is the same as the time domain information used by thethird terminal to send the second data, a feedback resource conflict canbe prevented in the foregoing manner, thereby improving data feedbackefficiency and improving data transmission reliability.

According to a second aspect, a method for determining a data feedbackresource is provided. The method includes sending, by a second terminal,first data to a first terminal. The method further includes determining,by the second terminal, a feedback resource of the first data. Thefeedback resource of the first data is a feedback resource in a feedbackresource pool. The method further includes receiving, by the secondterminal on the feedback resource, feedback information that is of thefirst data and that is sent by the first terminal. The feedbackinformation indicates a receiving status of the first data.

A beneficial effect is as follows: After sending the first data to thefirst terminal, the second terminal can receive, on the feedbackresource of the first data that is determined in the feedback resourcepool, the feedback information that is of the first data and that issent by the first terminal. Therefore, the second terminal serving as atransmit end can determine, by detecting the feedback information,whether the sent first data is successfully received, thereby improvingdata transmission reliability.

With reference to the second aspect, in a possible design, determining,by the first terminal, a feedback resource of the first data includesdetermining, by the first terminal, time-frequency information and/orcode domain information of the feedback resource of the first data. Thetime-frequency information includes start location information of afrequency domain resource, a length of the frequency domain resource,and indication information of a time domain resource. The code domaininformation includes a codeword used to send the feedback information.

With reference to the second aspect, in a possible design, determining,by the second terminal, a feedback resource of the first data includesobtaining, by the second terminal, configuration information of thefeedback resource pool and determining, by the second terminal, thefeedback resource of the first data based on the configurationinformation of the feedback resource pool.

In this design, it is simple for the first terminal to determine thefeedback resource of the first data based on the configurationinformation of the feedback resource pool. The feedback resource of thefirst data is determined in advance, so that a feedback resourceconflict can be prevented.

With reference to the second aspect, in a possible design, obtaining, bythe second terminal, configuration information of the feedback resourcepool includes obtaining, by the second terminal, the configurationinformation of the feedback resource pool from a network side orobtaining, by the second terminal, the configuration information of thefeedback resource pool using preconfigured information.

In this design, the configuration information of the feedback resourcepool may be obtained from the network side, or may be locally configuredon the second terminal in advance, so that implementations are flexibleand diverse.

With reference to the second aspect, in a possible design, obtaining, bythe second terminal, configuration information of the feedback resourcepool includes obtaining, by the second terminal, at least one of startlocation information of a frequency domain resource, length informationof the frequency domain resource, time-domain subframe offsetinformation, and subframe bitmap information of the feedback resourcepool.

With reference to the second aspect, in a possible design, a quantity offrequency domain resources in the feedback resource pool is determinedbased on a quantity of sub-channels in a data resource pool in which thefirst data is located.

With reference to the second aspect, in a possible design, determining,by the second terminal, a feedback resource of the first data includesobtaining, by the second terminal, time-frequency resource informationof the first data and determining, by the second terminal, thetime-frequency information of the feedback resource of the first databased on the time-frequency resource information of the first data.

In this design, the time-frequency information of the feedback resourceof the first data is associated with time-frequency information of thefirst data, so that the second terminal can rapidly determine thetime-frequency information of the feedback resource of the first databased on the time-frequency information of the first data, therebyimproving data transmission reliability.

With reference to the second aspect, in a possible design, thetime-frequency resource information that is of the first data and thatis obtained by the second terminal includes information about atime-frequency resource carrying SCI of the first data and/orinformation about a time-frequency resource carrying service data of thefirst data.

With reference to the second aspect, in a possible design, determining,by the second terminal, a feedback resource of the first data includesdetermining, by the second terminal, code domain information of thefeedback resource of the first data. Determining, by the secondterminal, the code domain information of the feedback resource of thefirst data includes obtaining, by the second terminal, at least one oftime-frequency resource information of the first data, ID information ofthe first terminal, and ID information of the second terminal, andincludes determining, by the second terminal, the code domaininformation of the feedback resource of the first data based on the atleast one obtained information.

In this design, when the feedback resource determined by the secondterminal conflicts with a feedback resource of another terminal, a samefeedback channel may be multiplexed in a code division manner to resolvethe resource conflict.

With reference to the second aspect, in a possible design, receiving, bythe second terminal on the feedback resource, feedback information thatis of the first data and that is sent by the first terminal includesobtaining, by the second terminal, time domain information used by athird terminal to send second data and receiving, by the second terminalif the second terminal determines that time domain information of thefeedback resource of the first data is the same as the time domaininformation used by the third terminal to send the second data, thefeedback information of the first data after a delay of k subframes,where k is an integer greater than 0.

In this design, when the time domain information of the feedbackresource used by the second terminal to receive the first data is thesame as the time domain information used by the third terminal to sendthe second data, a feedback resource conflict can be prevented in theforegoing manner, thereby improving data feedback efficiency andimproving data transmission reliability.

According to a third aspect, a device for determining a data feedbackresource is provided. The device includes a receiving unit configured toreceive first data sent by a peer device. The device includes aprocessing unit configured to determine a feedback resource of the firstdata. The feedback resource of the first data is a feedback resource ina feedback resource pool. The device includes a sending unit configuredto send feedback information of the first data to the peer device on thefeedback resource. The feedback information indicates a receiving statusof the first data.

With reference to the third aspect, in a possible design, the processingunit is configured to determine, by the first terminal, time-frequencyinformation and/or code domain information of the feedback resource ofthe first data. The time-frequency information includes start locationinformation of a frequency domain resource, a length of the frequencydomain resource, and indication information of a time domain resource.The code domain information includes a codeword used to send thefeedback information.

With reference to the third aspect, in a possible design, the processingunit is configured to, when determining the feedback resource of thefirst data, obtain configuration information of the feedback resourcepool and determine the feedback resource of the first data based on theconfiguration information of the feedback resource pool.

With reference to the third aspect, in a possible design, the processingunit is configured to, when obtaining the configuration information ofthe feedback resource pool, obtain the configuration information of thefeedback resource pool from a network side or obtain the configurationinformation of the feedback resource pool using preconfiguredinformation.

With reference to the third aspect, in a possible design, the processingunit is configured to, when obtaining the configuration information ofthe feedback resource pool, obtain at least one of start locationinformation of a frequency domain resource, length information of thefrequency domain resource, time-domain subframe offset information, andsubframe bitmap information of the feedback resource pool.

With reference to the third aspect, in a possible design, a quantity offrequency domain resources in the feedback resource pool is determinedbased on a quantity of sub-channels in a data resource pool in which thefirst data is located.

With reference to the third aspect, in a possible design, the processingunit is configured to, when determining the feedback resource of thefirst data, obtain time-frequency resource information of the first dataand determine the time-frequency information of the feedback resource ofthe first data based on the time-frequency resource information of thefirst data.

With reference to the third aspect, in a possible design, thetime-frequency resource information that is of the first data and thatis obtained by the processing unit includes information about atime-frequency resource carrying SCI of the first data and/orinformation about a time-frequency resource carrying service data of thefirst data.

With reference to the third aspect, in a possible design, the processingunit is configured to, when determining the feedback resource of thefirst data, determine code domain information of the feedback resourceof the first data. Determining the code domain information of thefeedback resource of the first data includes obtaining at least one oftime-frequency resource information of the first data, ID information ofthe device, and ID information of the peer device, and includesdetermining the code domain information of the feedback resource of thefirst data based on the at least one obtained information.

With reference to the third aspect, in a possible design, the sendingunit is configured to, when sending the feedback information of thefirst data to the peer device on the feedback resource, obtain timedomain information used by another terminal to send second data andsend, if the processing unit determines that time domain information ofthe feedback resource of the first data is the same as the time domaininformation used by the another terminal to send the second data, thefeedback information of the first data after a delay of k subframes,where k is an integer greater than 0.

According to a fourth aspect, a device for determining a data feedbackresource is provided. The device includes a sending unit configured tosend first data to a peer device. The device further includes aprocessing unit configured to determine a feedback resource of the firstdata. The feedback resource of the first data is a feedback resource ina feedback resource pool. The device includes a receiving unitconfigured to receive, on the feedback resource, feedback informationthat is of the first data and that is sent by the peer device. Thefeedback information indicates a receiving status of the first data.

With reference to the fourth aspect, in a possible design, theprocessing unit is configured to determine time-frequency informationand/or code domain information of the feedback resource of the firstdata. The time-frequency information includes start location informationof a frequency domain resource, a length of the frequency domainresource, and indication information of a time domain resource. The codedomain information includes a codeword used to send the feedbackinformation.

With reference to the fourth aspect, in a possible design, theprocessing unit is configured to, when determining the feedback resourceof the first data, obtain configuration information of the feedbackresource pool and determine the feedback resource of the first databased on the configuration information of the feedback resource pool.

With reference to the fourth aspect, in a possible design, theprocessing unit is configured to, when obtaining the configurationinformation of the feedback resource pool, obtain the configurationinformation of the feedback resource pool from a network side or obtainthe configuration information of the feedback resource pool usingpreconfigured information.

With reference to the fourth aspect, in a possible design, theprocessing unit is configured to, when obtaining the configurationinformation of the feedback resource pool, obtain at least one of startlocation information of a frequency domain resource, length informationof the frequency domain resource, time-domain subframe offsetinformation, and subframe bitmap information of the feedback resourcepool.

With reference to the fourth aspect, in a possible design, a quantity offrequency domain resources in the feedback resource pool is determinedbased on a quantity of sub-channels in a data resource pool in which thefirst data is located.

With reference to the fourth aspect, in a possible design, theprocessing unit is configured to, when determining the feedback resourceof the first data, obtain time-frequency resource information of thefirst data and determine the time-frequency information of the feedbackresource of the first data based on the time-frequency resourceinformation of the first data.

With reference to the fourth aspect, in a possible design, thetime-frequency resource information that is of the first data and thatis obtained by the processing unit includes information about atime-frequency resource carrying SCI of the first data and/orinformation about a time-frequency resource carrying service data of thefirst data.

With reference to the fourth aspect, in a possible design, theprocessing unit is configured to, when determining the feedback resourceof the first data, determine code domain information of the feedbackresource of the first data. Determining the code domain information ofthe feedback resource of the first data includes obtaining at least oneof time-frequency resource information of the first data, ID informationof the peer device, and ID information of the device, and includesdetermining the code domain information of the feedback resource of thefirst data based on the at least one obtained information.

With reference to the fourth aspect, in a possible design, the receivingunit is configured to, when receiving, on the feedback resource, thefeedback information that is of the first data and that is sent by thepeer device, obtain time domain information used by another terminal tosend second data and receive, if the processing unit determines thattime domain information of the feedback resource of the first data isthe same as the time domain information used by the another terminal tosend the second data, the feedback information of the first data after adelay of k subframes, where k is an integer greater than 0.

According to a fifth aspect, a terminal device is provided. A structureof the terminal device includes a transceiver, a memory, and aprocessor. The memory is configured to store a group of programs, andthe processor is configured to invoke the programs stored in the memory,to perform the method performed by the first terminal in any one of theforegoing aspects.

According to a sixth aspect, a terminal device is provided. A structureof the terminal device includes a transceiver, a memory, and aprocessor. The memory is configured to store a group of programs, andthe processor is configured to invoke the programs stored in the memory,to perform the method performed by the second terminal in any one of theforegoing aspects.

According to a seventh aspect, this application further provides acomputer-readable storage medium, configured to store a computersoftware instruction used for performing functions of the first aspector any design of the first aspect, where the computer softwareinstruction includes a program designed for performing the method in thefirst aspect or any design of the first aspect.

According to an eighth aspect, this application further provides acomputer-readable storage medium, configured to store a computersoftware instruction used for performing functions of the second aspector any design of the second aspect, where the computer softwareinstruction includes a program designed for performing the method in thesecond aspect or any design of the second aspect.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1A and FIG. 1B are schematic diagrams of communication between avehicle and another node according to this application;

FIG. 2 is a flowchart of a method for determining a data feedbackresource according to this application;

FIG. 3A and FIG. 3B are schematic diagrams of a feedback resourceaccording to this application;

FIG. 4 is a schematic diagram of a vehicle queue driving scenarioaccording to this application;

FIG. 5 is a schematic structural diagram of an apparatus for determininga data feedback resource according to this application;

FIG. 6 is a schematic structural diagram of a device for determining adata feedback resource according to this application;

FIG. 7 is a schematic structural diagram of an apparatus for determininga data feedback resource according to this application; and

FIG. 8 is a schematic structural diagram of a device for determining adata feedback resource according to this application.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

Embodiments of this application may be applied to device to device (D2D)communication and V2X communication, which does not constitute alimitation. A terminal in embodiments of this application may also bereferred to as user equipment (UE), a mobile station (MS), a mobileterminal, or the like. Optionally, the terminal may be a vehicle, amobile phone, a tablet computer, a personal digital assistant (PDA), apoint of sale (POS), an in-vehicle computer, a set top box, or the like.

In embodiments of this application, the V2X communication may includebut is not limited to vehicle-to-vehicle (V2V) communication,vehicle-to-infrastructure (V2I) communication, vehicle-to-pedestrian(V2P) communication, and vehicle-to-network (V2N) communication. The V2Icommunication may include but is not limited to communication between avehicle and a base station, communication between a vehicle and aroadside unit, and communication between a vehicle and a communicationsmodule on a traffic light.

In a V2X system, a vehicle usually communicates with another node in twomanners. In a first manner, as shown in FIG. 1A, a vehicle sends stateinformation of the vehicle to another nearby vehicle in a broadcastmanner, and in this case, a base station does not need to forward data.This communication manner is similar to that in a D2D system. In asecond manner, as shown in FIG. 1B, data of a vehicle is forwarded usinga base station, and in this case, the vehicle first sends the data tothe base station, and then the base station sends the received data toanother vehicle or node in a unicast or broadcast manner.

In FIG. 1A, a terminal sends data in a D2D broadcast manner, and maysend data in a mode 1 or a mode 2. In the mode 1, a base stationallocates a determined transmission resource to the terminal. In themode 2, the terminal voluntarily selects a resource from a resource poolconfigured by the base station or a preconfigured resource pool, toperform data transmission.

The D2D communication is direct data communication between two terminalsand is implemented using a mechanism of a scheduling assignment (SA)part plus a data (Data) part. The SA is usually referred to as sidelinkcontrol information (SCI), and indicates control information of datasent from a transmit end, for example, time-frequency resourceinformation of the data, modulation and coding scheme (MCS) information,a frequency hopping indication, timing advance information, receivinggroup ID information, data priority information, resource reservationinformation, and retransmission indication information. The data isservice data that is sent by the transmit end at a time-frequencyresource location indicated by the SA and in a format indicated by theSA, so that a receive end can receive the data according to theindication of the SA.

In embodiments of this application, after receiving first data sent by asecond terminal, a first terminal can send feedback information of thefirst data to the second terminal on a determined feedback resource ofthe first data. Therefore, the second terminal serving as a transmit endcan determine, by detecting the feedback information, whether the sentfirst data is successfully received, thereby improving data transmissionreliability.

With reference to the accompanying drawings, the following describes indetail a solution for determining a data feedback resource provided inthis application.

As shown in FIG. 2, a method for determining a data feedback resourceaccording to an embodiment of this application includes the followingspecific procedure.

Step 21: A first terminal receives first data sent by a second terminal.

Step 22: The first terminal determines a feedback resource of the firstdata.

The feedback resource of the first data is a feedback resource in afeedback resource pool. The feedback resource pool is a set oftime-frequency resources, the feedback resource pool includes at leastone resource used to transmit feedback information, and a quantity offrequency domain resources in the feedback resource pool is determinedbased on a quantity of sub-channels in a data resource pool in which thefirst data is located.

Determining, by the first terminal, a feedback resource of the firstdata includes determining, by the first terminal, time-frequencyinformation and/or code domain information of the feedback resource ofthe first data. The time-frequency information includes start locationinformation of a frequency domain resource, a length of the frequencydomain resource, and indication information of a time domain resource.The code domain information includes a codeword used to send thefeedback information.

Specifically, the first terminal may determine the feedback resource ofthe first data in a manner that is not limited to the following twoimplementations. Further, the first terminal may determine the feedbackresource of the first data by combining the following twoimplementations.

In a first implementation, the first terminal obtains configurationinformation of the feedback resource pool and determines the feedbackresource of the first data based on the configuration information of thefeedback resource pool.

It should be noted that the first terminal may obtain the configurationinformation of the feedback resource pool in the following two cases.

In a first case, the first terminal obtains the configurationinformation of the feedback resource pool from a network side. Forexample, the first terminal may obtain the configuration information ofthe feedback resource pool from a network side device such as a basestation or a central controller on the network side.

In a second case, the first terminal obtains the configurationinformation of the feedback resource pool using preconfiguredinformation. In this case, the terminal obtains the configurationinformation of the feedback resource pool from preconfigured informationof the terminal.

Obtaining, by the first terminal configuration information of thefeedback resource pool includes obtaining, by the first terminal, atleast one of start location information of a frequency domain resource,length information of the frequency domain resource, time-domainsubframe offset information, and subframe bitmap information of thefeedback resource pool.

In a second implementation, the first terminal obtains time-frequencyresource information of the first data and determines the time-frequencyinformation of the feedback resource of the first data based on thetime-frequency resource information of the first data.

In the second implementation, a time-frequency location of the feedbackresource is determined based on a corresponding time-frequency locationof the received first data. Specifically, the received first dataincludes two parts: SA and service data. The time-frequency location ofthe feedback resource is determined based on a correspondingtime-frequency resource carrying SCI of the first data, or based on acorresponding time-frequency resource carrying the service data of thereceived first data. Specifically, FIG. 3A and FIG. 3B are schematicdiagrams of a correspondence between a feedback resource and atime-frequency resource of first data.

It should be noted that the time-frequency resource information of thefirst data that is obtained by the first terminal includes informationabout the time-frequency resource carrying the SCI of the first dataand/or information about the time-frequency resource carrying theservice data of the first data.

In this implementation, there is a correspondence between a feedbackresource and a time-frequency resource of first data corresponding tothe feedback resource. In other words, the time-frequency location ofthe feedback resource may be determined based on the time-frequencylocation of the first data. An example of a possible implementation isas follows:

It is assumed that an index of a sub-channel in one subframe is m (m=0,1, 2, . . . , or M−1), M is a total quantity of sub-channels in thesubframe, an index of a feedback resource is n (n=0, 1, 2, . . . , orN−1), and N is a total quantity of feedback resources in the subframe.

Specifically, in a process of determining a frequency domain resource,

if M=N, each sub-channel corresponds to one feedback resource, that is,n=m; or

if M=2N, every two sub-channels correspond to one feedback resource,that is, n=└m/2┘, where └m/2┘ indicates that m/2 is rounded down.

By analogy, if M=k×N, where k indicates an integer greater than or equalto 1, every k sub-channels correspond to one feedback resource, that is,n=└m/k┘.

Specifically, in a process of determining a time domain resource, if auser receives the first data in a subframe t, the user sends thefeedback information in a subframe (t+a), where a is a preset integergreater than 0, and optionally, a≥4.

It is worth noting that, in this application, a plurality of feedbackchannels may be multiplexed on one feedback resource in a code divisionmanner. Therefore, when determining the feedback resource of the firstdata, the first terminal further determines the code domain informationof the feedback resource of the first data, and a specific process is asfollows:

The first terminal obtains at least one of time-frequency resourceinformation of the first data, ID information of the first terminal, andID information of the second terminal, and the first terminal determinesthe code domain information of the feedback resource of the first databased on the at least one obtained information.

When a plurality of feedback channels may be multiplexed on one feedbackresource in a code division manner, an example of a possibleimplementation is as follows:

Assuming that a total quantity of code division resources on onefeedback resource is P, and P is a positive integer greater than 0, afeedback resource p (p=0, 1, . . . , or P−1) of a specific user may bedetermined using the following expression:p=f(Res_(data) ,UE ID _(tx) ,UE ID _(rx)), where

p=f(x,y,z) indicates that p is a function of input variables x, y, andz, Res_(data) indicates a time-frequency location of a data resource, UEID_(tx) indicates an ID of a data transmit end, and UE ID_(rx) indicatesan ID of a data receive end.

Further, the feedback resource p may be alternatively determined usingthe following expression:p=mod(UE ID _(rx) ,P),where

mod( ) indicates a modulo operation.

Alternatively, the feedback resource p may be determined using thefollowing expression:p=mod(UE ID _(tx) ,P).

Alternatively, the feedback resource p may be determined using thefollowing expression:p=mod(m,P), where

m (m=0, 1, 2, . . . , or M−1) indicates an index of a lowestfrequency-domain sub-channel occupied by the received first data.

Step 23: The first terminal sends feedback information of the first datato the second terminal on the feedback resource. The feedbackinformation indicates a receiving status of the first data.

Specifically, if the first terminal successfully receives the firstdata, the first terminal sends an acknowledgement (ACK) message to thesecond terminal. If the first terminal receives no data, the firstterminal does not send the feedback information to the second terminal.

Alternatively, the first terminal sends the feedback information of thefirst data to the second terminal on the feedback resource. The feedbackinformation describes channel quality of a transmission channel of thefirst data.

Further, when sending the feedback information of the first data to thesecond terminal on the feedback resource, the first terminal obtainstime domain information used by a third terminal to send second data. Ifthe first terminal determines that time domain information of thefeedback resource of the first data is the same as the time domaininformation used by the third terminal to send the second data, thefirst terminal sends the feedback information of the first data after adelay of k subframes, where k is an integer greater than 0.

Specifically, the second data sent by the third terminal may be servicedata or may be feedback information.

For example, when a terminal A sends feedback information to a terminalB, the terminal A obtains time domain information used by a terminal Cto send data, where the terminal C is, for example, a first vehicle in avehicle queue. If a subframe in which the terminal A sends a feedbackresource is the same as a subframe in which the terminal C sends thedata, the terminal A sends the feedback information after a delay of ksubframes (k is an integer greater than 0).

According to a method for determining a data feedback resource in aninternet-of-vehicles, after receiving the first data, the first terminalserving as a receive end determines the feedback resource of the firstdata and sends, on the determined feedback resource, the feedbackinformation of the first data to the second terminal serving as atransmit end. Therefore, the second terminal serving as the transmit endcan determine whether the sent first data is successfully received,thereby improving data transmission reliability.

The method for determining a data feedback resource in aninternet-of-vehicles may be applied to a process of selecting a resourcefor the first vehicle in a vehicle queue driving scenario in FIG. 4.

In the vehicle queue driving scenario, the first vehicle periodicallybroadcasts information about the first vehicle, such as a location, adirection, and a speed, and a receive end does not need to send afeedback for the information. In addition, the first vehicle isresponsible for managing an entire vehicle queue, for example,controlling a speed of a vehicle queue, a vehicle distance, joining ofanother vehicle in the vehicle queue, and leaving of a vehicle from thevehicle queue. Therefore, the first vehicle communicates with othermembers in the vehicle queue in a unicast or broadcast manner, andrequires feedbacks of the members in the vehicle queue.

The first vehicle sends, in two manners, information to be fed back.

A first manner is periodic sending. For example, the first vehicleperiodically sends vehicle distance information, vehicle speedinformation, and acceleration and deceleration information. For theperiodically sent information, a monitoring process, a selectionprocess, and the like in the existing V2X may be used, and details arenot described herein.

A second manner is event-triggered sending. For example, when the firstvehicle receives a joining request of another vehicle that is not in thevehicle queue, the first vehicle needs to respond to the request.Alternatively, when the first vehicle receives a leaving request of avehicle in the vehicle queue, the first vehicle needs to respond to therequest.

There may be the following manners for an event-triggered sent message:

In a possible implementation, when a terminal sends data information tobe fed back, resource reselection is triggered, and the terminal selectsan available resource for data sending.

In another possible implementation, a resource is reserved fortransmitting data information to be fed back. Specifically, the networkside preconfigures resources for transmitting data information to be fedback and sends configuration information of the preconfigured resourcesto the terminal. The terminal receives the configuration information,obtains the preconfigured resources based on the configurationinformation, and selects a resource from the preconfigured resources totransmit the data information.

The method for determining a data feedback resource in aninternet-of-vehicles may be further applied to a process of selecting aresource for another vehicle other than the first vehicle in a vehiclequeue driving scenario.

In the vehicle queue driving scenario, when another vehicle other thanthe first vehicle in a vehicle queue reselects a resource, a resourceused by the first vehicle is considered, and a subframe used by thefirst vehicle is avoided for selection of a resource by the anothervehicle, thereby avoiding a problem that information about the firstvehicle cannot be received due to a half-duplex problem.

When the terminal selects a resource, resources to be excluded in aresource selection window include:

1. a resource reserved by the first vehicle in the selection window; and

2. a resource that is preconfigured in the selection window orconfigured by the base station and that may be used by the first vehicleto transmit data.

In a process in which the terminal selects a resource, a subframe thatmay be used by the first vehicle is excluded, thereby avoiding a case inwhich the terminal cannot receive data of the first vehicle because theterminal and the first vehicle transmit data in a same subframe.

In embodiments of this application, functional units of the terminal maybe divided based on the foregoing method example. For example, theterminal may be divided into functional units based on correspondingfunctions, or two or more functions may be integrated into oneprocessing unit. The integrated unit may be implemented in a form ofhardware, or may be implemented in a form of a software function unit.It should be noted that, in embodiments of this application, the unitdivision is an example, and is merely logical function division. Duringactual implementation, there may be another division manner.

When an integrated unit is used, FIG. 5 is a schematic structuraldiagram of an apparatus for determining a data feedback resourceaccording to an embodiment of this application. Referring to FIG. 5, theapparatus 500 includes a receiving unit 501, a processing unit 502, anda sending unit 503.

The receiving unit 501 is configured to receive first data sent by apeer device.

The processing unit 502 is configured to determine a feedback resourceof the first data. The feedback resource of the first data is a feedbackresource in a feedback resource pool.

The sending unit 503 is configured to send feedback information of thefirst data to the peer device on the feedback resource. The feedbackinformation indicates a receiving status of the first data.

Optionally, the processing unit 502 is configured to determine, by thefirst terminal, time-frequency information and/or code domaininformation of the feedback resource of the first data. Thetime-frequency information includes start location information of afrequency domain resource, a length of the frequency domain resource,and indication information of a time domain resource. The code domaininformation includes a codeword used to send the feedback information.

Optionally, the processing unit 502 is configured to, when determiningthe feedback resource of the first data, obtain configurationinformation of the feedback resource pool and determine the feedbackresource of the first data based on the configuration information of thefeedback resource pool.

Optionally, the processing unit 502 is configured to, when obtaining theconfiguration information of the feedback resource pool, obtain theconfiguration information of the feedback resource pool from a networkside or obtain the configuration information of the feedback resourcepool using preconfigured information.

Optionally, the processing unit 502 is configured to, when obtaining theconfiguration information of the feedback resource pool, obtain at leastone of start location information of a frequency domain resource, lengthinformation of the frequency domain resource, time-domain subframeoffset information, and subframe bitmap information of the feedbackresource pool.

Optionally, a quantity of frequency domain resources in the feedbackresource pool is determined based on a quantity of sub-channels in adata resource pool in which the first data is located.

Optionally, the processing unit 502 is configured to, when determiningthe feedback resource of the first data, obtain time-frequency resourceinformation of the first data and determine the time-frequencyinformation of the feedback resource of the first data based on thetime-frequency resource information of the first data.

Optionally, the time-frequency resource information that is of the firstdata and that is obtained by the processing unit 502 includesinformation about a time-frequency resource carrying SCI of the firstdata and/or information about a time-frequency resource carrying servicedata of the first data.

Optionally, the processing unit 502 is configured to, when determiningthe feedback resource of the first data, determine code domaininformation of the feedback resource of the first data. Determining thecode domain information of the feedback resource of the first dataincludes obtaining at least one of time-frequency resource informationof the first data, ID information of the apparatus 500, and IDinformation of the peer device, and includes determining the code domaininformation of the feedback resource of the first data based on the atleast one obtained information.

Optionally, the sending unit 503 is configured to, when sending thefeedback information of the first data to the peer device on thefeedback resource, obtain time domain information used by anotherterminal to send second data and send, if the processing unit 502determines that time domain information of the feedback resource of thefirst data is the same as the time domain information used by theanother terminal to send the second data, the feedback information ofthe first data after a delay of k subframes, where k is an integergreater than 0.

It should be noted that, in this embodiment of this application, theprocessing unit 502 may be implemented as a processor, the receivingunit 501 may be implemented as a receiver, the sending unit 503 may beimplemented as a transmitter, and the receiver and the transmitter maybe combined into a transceiver for implementation. As shown in FIG. 6, adevice 600 for determining a data feedback resource may include aprocessor 610, a transceiver 620, and a memory 630. The memory 630 maybe configured to store a program/code preinstalled when the device 600is delivered from a factory, and may further store code and the likeused for execution of the processor 610.

The processor 610 may be configured to perform a related operation usinga general-purpose CPU, a microprocessor, an ASIC, or one or moreintegrated circuits, to implement the technical solutions provided inembodiments of the present disclosure.

It should be noted that, although the device 600 shown in FIG. 6 merelyshows the processor 610, the transceiver 620, and the memory 630, in aspecific implementation process, a person skilled in the art shouldunderstand that the device 600 further includes another component neededfor implementing normal running. In addition, a person skilled in theart should understand that, according to specific requirements, thedevice 600 may further include a hardware component for implementinganother additional function. In addition, a person skilled in the artshould understand that the device may include only components or modulesthat are necessary for implementing embodiments of the presentdisclosure, and does not need to include all components shown in FIG. 6.

FIG. 7 is a schematic structural diagram of an apparatus for determininga data feedback resource according to an embodiment of this application.Referring to FIG. 7, the apparatus 700 includes a sending unit 701, aprocessing unit 702, and a receiving unit 703.

The sending unit 701 is configured to send first data to a peer device.

The processing unit 702 is configured to determine a feedback resourceof the first data. The feedback resource of the first data is a feedbackresource in a feedback resource pool.

The receiving unit 703 is configured to receive, on the feedbackresource, feedback information that is of the first data and that issent by the peer device. The feedback information indicates a receivingstatus of the first data.

Optionally, the processing unit 702 is configured to determinetime-frequency information and/or code domain information of thefeedback resource of the first data. The time-frequency informationincludes start location information of a frequency domain resource, alength of the frequency domain resource, and indication information of atime domain resource. The code domain information includes a codewordused to send the feedback information.

Optionally, the processing unit 702 is configured to, when determiningthe feedback resource of the first data, obtain configurationinformation of the feedback resource pool and determine the feedbackresource of the first data based on the configuration information of thefeedback resource pool.

Optionally, the processing unit 702 is configured to, when obtaining theconfiguration information of the feedback resource pool, obtain theconfiguration information of the feedback resource pool from a networkside or obtain the configuration information of the feedback resourcepool using preconfigured information.

Optionally, the processing unit 702 is configured to, when obtaining theconfiguration information of the feedback resource pool, obtain at leastone of start location information of a frequency domain resource, lengthinformation of the frequency domain resource, time-domain subframeoffset information, and subframe bitmap information of the feedbackresource pool.

Optionally, a quantity of frequency domain resources in the feedbackresource pool is determined based on a quantity of sub-channels in adata resource pool in which the first data is located.

Optionally, the processing unit 702 is configured to, when determiningthe feedback resource of the first data, obtain time-frequency resourceinformation of the first data and determine the time-frequencyinformation of the feedback resource of the first data based on thetime-frequency resource information of the first data.

Optionally, the time-frequency resource information that is of the firstdata and that is obtained by the processing unit 702 includesinformation about a time-frequency resource carrying SCI of the firstdata and/or information about a time-frequency resource carrying servicedata of the first data.

Optionally, the processing unit 702 is configured to, when determiningthe feedback resource of the first data, determine the code domaininformation of the feedback resource of the first data. Determining thecode domain information of the feedback resource of the first dataincludes obtaining at least one of time-frequency resource informationof the first data, ID information of the peer device, and ID informationof the device, and includes determining the code domain information ofthe feedback resource of the first data based on the at least oneobtained information.

Optionally, the receiving unit 703 is configured to, when receiving, onthe feedback resource, the feedback information that is of the firstdata and that is sent by the peer device, obtain time domain informationused by another terminal to send second data, and to receive,

if the processing unit 702 determines that time domain information ofthe feedback resource of the first data is the same as the time domaininformation used by the another terminal to send the second data, thefeedback information of the first data after a delay of k subframes,where k is an integer greater than 0.

It should be noted that, in this embodiment of this application, theprocessing unit 702 may be implemented as a processor, the receivingunit 703 may be implemented as a receiver, the sending unit 701 may beimplemented as a transmitter, and the receiver and the transmitter maybe combined into a transceiver for implementation. As shown in FIG. 8, adevice 800 for determining a data feedback resource may include aprocessor 810, a transceiver 820, and a memory 830 o. The memory 830 maybe configured to store a program/code preinstalled when the device 800is delivered from a factory, and may further store code and the likeused for execution of the processor 810.

The processor 81 o may be configured to perform a related operationusing a general-purpose CPU, a microprocessor, an ASIC, or one or moreintegrated circuits, to implement the technical solutions provided inembodiments of the present disclosure.

It should be noted that, although the device 800 shown in FIG. 8 merelyshows the processor 810, the transceiver 820, and the memory 830, in aspecific implementation process, a person skilled in the art shouldunderstand that the device 800 further includes another component neededfor implementing normal running. In addition, a person skilled in theart should understand that, according to specific requirements, thedevice 800 may further include a hardware component for implementinganother additional function. In addition, a person skilled in the artshould understand that the device may include only components or modulesthat are necessary for implementing embodiments of the presentdisclosure, and does not need to include all components shown in FIG. 8.

An embodiment of this application further provides a computer-readablestorage medium, configured to store a computer software instruction usedto perform operations that need to be performed by the processor. Thecomputer software instruction includes a program used to perform theoperations that need to be performed by the processor.

A person skilled in the art should understand that embodiments of thisapplication may be provided as a method, a system, or a computer programproduct. Therefore, this application may use a form of hardware onlyembodiments, software only embodiments, or embodiments with acombination of software and hardware. In addition, this application mayuse a form of a computer program product that is implemented on one ormore computer-usable storage media (including but not limited to amagnetic disk storage, a CD-ROM, and an optical memory) that includecomputer-usable program code.

This application is described with reference to the flowcharts and/orblock diagrams of the method, the device (system), and the computerprogram product according to this application. It should be understoodthat computer program instructions may be used to implement each processand/or each block in the flowcharts and/or the block diagrams and acombination of a process and/or a block in the flowcharts and/or theblock diagrams. These computer program instructions may be provided fora general-purpose computer, a special-purpose computer, an embeddedprocessor, or a processor of any other programmable data processingdevice to generate a machine, so that the instructions executed by acomputer or a processor of any other programmable data processing devicegenerate an apparatus for implementing a specific function in one ormore processes in the flowcharts and/or in one or more blocks in theblock diagrams.

These computer program instructions may be stored in a computer-readablememory that can instruct the computer or any other programmable dataprocessing device to work in a specific manner, so that the instructionsstored in the computer-readable memory generate an artifact thatincludes an instruction apparatus. The instruction apparatus implementsa specified function in one or more processes in the flowcharts and/orin one or more blocks in the block diagrams.

These computer program instructions may also be loaded onto a computeror another programmable data processing device, so that a series ofoperations and steps are performed on the computer or the anotherprogrammable device, thereby generating computer-implemented processing.Therefore, the instructions executed on the computer or the anotherprogrammable device provide steps for implementing a specified functionin one or more processes in the flowcharts and/or in one or more blocksin the block diagrams.

Obviously, a person skilled in the art can make various modificationsand variations to this application without departing from the spirit andscope of this application. This application is intended to cover thesemodifications and variations of this application provided that they fallwithin the scope of protection defined by the following claims of thisapplication and their equivalent technologies.

What is claimed is:
 1. A method, comprising: receiving, by a firstterminal, first data from a second terminal; determining, by the firstterminal according to a time-frequency resource on which the first datais sent from the second terminal to the first terminal, start locationinformation of a frequency domain resource of a feedback resource usedfor transmitting feedback information of the first data to the secondterminal, a length of the frequency domain resource of the feedbackresource used for transmitting the feedback information, and informationindicating a time domain resource of the feedback resource fortransmitting the feedback information, the feedback informationindicating a receiving status of the first data; and sending, by thefirst terminal, the feedback information of the first data to the secondterminal on the feedback resource.
 2. The method according to claim 1,wherein the method further comprises: obtaining, by the first terminalaccording to time-frequency resource information of sidelink controlinformation (SCI) of the first data, the time-frequency resource of thefirst data.
 3. The method according to claim 1, wherein the methodfurther comprises: determining, by the first terminal according to thetime-frequency resource of the first data and ID information of thesecond terminal, code domain information of the feedback resource of thefirst data, the code domain information comprising a code word used tosend the feedback information.
 4. The method according to claim 1,wherein the feedback resource of the first data is a feedback resourcein a feedback resource pool.
 5. The method according to claim 4, whereinthe method further comprises: obtaining, by the first terminal,configuration information of the feedback resource pool; anddetermining, by the first terminal, the feedback resource of the firstdata based on the configuration information of the feedback resourcepool.
 6. The method according to claim 5, wherein obtaining, by thefirst terminal, the configuration information of the feedback resourcepool comprises: obtaining, by the first terminal, the configurationinformation of the feedback resource pool from a base station; orobtaining, by the first terminal, the configuration information of thefeedback resource pool using preconfigured information.
 7. A method,comprising: sending, by a second terminal, first data to a firstterminal; determining, by the second terminal according to atime-frequency resource on which the first data is sent from the secondterminal to the first terminal, start location information of afrequency domain resource of a feedback resource to be used forreceiving feedback information of the first data by the second terminalfrom the first terminal, a length of the frequency domain resource ofthe feedback resource used for receiving the feedback information, andinformation indicating a time domain resource of the feedback resourcefor receiving the feedback information, the feedback informationindicating a receiving status of the first data; and receiving, by thesecond terminal on the feedback resource, the feedback information ofthe first data from the first terminal.
 8. The method according to claim7, wherein the method further comprises: sending, by the secondterminal, sidelink control information (SCI) of the first data, whereintime-frequency resource information of the SCI of the first data is forobtaining the time-frequency resource information of the first data. 9.The method according to claim 7, wherein the method further comprises:determining, by the second terminal according to the time-frequencyresource of the first data and ID information of the second terminal,code domain information of the feedback resource of the first data, thecode domain information comprising a code word used to send the feedbackinformation.
 10. The method according to claim 7, wherein the feedbackresource of the first data is a feedback resource in a feedback resourcepool.
 11. The method according to claim 10, wherein the method furthercomprises: obtaining, by the second terminal, configuration informationof the feedback resource pool; and determining, by the second terminal,the feedback resource of the first data based on the configurationinformation of the feedback resource pool.
 12. The method according toclaim 11, wherein obtaining, by the second terminal, the configurationinformation of the feedback resource pool comprises: obtaining, by thesecond terminal, the configuration information of the feedback resourcepool from a base station; or obtaining, by the second terminal, theconfiguration information of the feedback resource pool usingpreconfigured information.
 13. A first terminal device, comprising: areceiver configured to receive first data sent by a second terminaldevice; a processor configured to determine, according to atime-frequency resource on which the first data is sent from the secondterminal device to the first terminal device, start location informationof a frequency domain resource of a feedback resource to be used fortransmitting feedback information of the first data to the secondterminal device, a length of the frequency domain resource of thefeedback resource for transmitting the feedback information, andinformation indicating a time domain resource of the feedback resourcefor transmitting the feedback information, the feedback informationindicating a receiving status of the first data; and a transmitterconfigured to send the feedback information of the first data to thesecond terminal device on the feedback resource.
 14. The first terminaldevice according to claim 13, wherein the processor is furtherconfigured to obtain, according to time-frequency resource informationof sidelink control information (SCI) of the first data, thetime-frequency resource of the first data.
 15. The first terminal deviceaccording to claim 13, wherein the processor is further configured to:determine, according to the time-frequency resource of the first dataand ID information of the second terminal device, code domaininformation of the feedback resource of the first data, the code domaininformation comprising a code word used to send the feedbackinformation.
 16. The first terminal device according to claim 13,wherein the feedback resource of the first data is a feedback resourcein a feedback resource pool.
 17. The first terminal device according toclaim 16, wherein the processor is further configured to: obtainconfiguration information of the feedback resource pool; and determinethe feedback resource of the first data based on the configurationinformation of the feedback resource pool.
 18. The first terminal deviceaccording to claim 17, wherein obtaining the configuration informationof the feedback resource pool comprises: obtaining the configurationinformation of the feedback resource pool from a base station; orobtaining the configuration information of the feedback resource poolusing preconfigured information.
 19. A second terminal device,comprising: a transmitter configured to send first data to a firstterminal device; a processor configured to determine, according to atime-frequency resource on which the first data is sent from the secondterminal device to the first terminal device, start location informationof a frequency domain resource of a feedback resource to be used forreceiving feedback information of the first data by the second terminaldevice from the first terminal device, a length of the frequency domainresource of the feedback resource for receiving the feedbackinformation, and information indicating a time domain resource of thefeedback resource for receiving the feedback information, the feedbackinformation indicating a receiving status of the first data; and areceiver configured to receive, on the feedback resource, the feedbackinformation of the first data from the first terminal device.
 20. Thesecond terminal device according to claim 19, wherein the processor isfurther configured to send sidelink control information (SCI) of thefirst data, and time-frequency resource information of the SCI of thefirst data is for obtaining the time-frequency resource information ofthe first data.
 21. The second terminal device according to claim 19,wherein the processor is further configured to: determine, according tothe time-frequency resource of the first data and ID information of thesecond terminal device, code domain information of the feedback resourceof the first data, the code domain information comprising a code wordused to send the feedback information.
 22. The second terminal deviceaccording to claim 19, wherein the feedback resource of the first datais a feedback resource in a feedback resource pool.
 23. The secondterminal device according to claim 22, wherein the processor is furtherconfigured to: obtain configuration information of the feedback resourcepool; and determine the feedback resource of the first data based on theconfiguration information of the feedback resource pool.
 24. The secondterminal device according to claim 23, wherein obtaining theconfiguration information of the feedback resource pool comprises:obtaining the configuration information of the feedback resource poolfrom a base station; or obtaining the configuration information of thefeedback resource pool using preconfigured information.
 25. Anon-transitory computer-readable media storing computer instructionsthat when executed by one or more processors, cause a first terminal toperform the steps of: receiving first data from a second terminal;determining, according to a time-frequency resource on which the firstdata is sent from the second terminal to the first terminal, startlocation information of a frequency domain resource of a feedbackresource to be used for transmitting feedback information of the firstdata to the second terminal, a length of the frequency domain resourceof the feedback resource for transmitting the feedback information, andinformation indicating a time domain resource of the feedback resourcefor transmitting the feedback information, the feedback informationindicating a receiving status of the first data; and sending thefeedback information of the first data to the second terminal on thefeedback resource.
 26. A non-transitory computer-readable media storingcomputer instructions that when executed by one or more processors,cause a second terminal to perform the steps of: sending first data to afirst terminal; determining, according to a time-frequency resource onwhich the first data is sent to the first terminal from the secondterminal, start location information of a frequency domain resource of afeedback resource to be used for receiving feedback information of thefirst data by the second terminal from the first terminal, a length ofthe frequency domain resource of the feedback resource for receiving thefeedback information, and information indicating a time domain resourceof the feedback resource for receiving the feedback information, thefeedback information indicating a receiving status of the first data;and receiving, on the feedback resource, the feedback information thatis of the first data and that is sent by the first terminal.